import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-09-28
 * Time: 9:39
 */
public class Test {
    public static void main(String[] args) {
        int[] array = {7,5,2,9,10,12,6};
        System.out.println("排序前：" + Arrays.toString(array));
        //Sort.insertSort(array);
        //Sort.shellInsert(array);
        //Sort.selectSort1(array);
        //Sort.heapSort(array);
        //Sort.bubbleSort(array);
        Sort.quickSort(array);
        System.out.println("排序后：" + Arrays.toString(array));

    }
}
